package com.unknowpupil.oauth2.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;


/**
 * <p>
 *
 * </p>
 *
 * @author AutoGenerator
 */
@TableName("oauth_approvals")
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class OauthApprovals implements Serializable {
    @TableId(value = "userId",type = IdType.INPUT)
    private String userId;

    private String clientId;

    private String scope;

    private String status;

    private Date expiresAt;

    private Date lastModifiedAt;

}
